package com.sias.spring.service.impl;

import com.sias.mapper.UserMapper;
import com.sias.model.User;
import com.sias.spring.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 吴文杰
 * @version 1.0
 * @createTime 2023-05-01 12:48:17
 */
@Service
public class UserServiceImpl implements UserService {

  @Resource
  UserMapper userMapper;

  public User test(long id) {
    return userMapper.getUserById(id);
  }

  @Override
  public void test() {
    System.out.println("test");
  }


}
